package com.magina.common.bean2xml;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.*;

@XmlRootElement(name = "DaughterXmlModel")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = {  "daughterName", "daughterAge","FatherXmlProp1" })

@Setter
@Getter
public class DaughterXmlModel extends FatherXmlModel {
    @XmlElement
    private String daughterName ;

    @XmlElement
    private Integer daughterAge ;
}
